package com.test.designPattern.creationType.builderPattern;

import lombok.extern.slf4j.Slf4j;

/**
 * 奔驰建造者
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/4/4
 */
@Slf4j
public class MercedesCarBuilder extends CarBuilder{

    @Override
    public void buildTyre() {
        car.setTyre("奔驰轮胎");
    }

    @Override
    public void buildSteeringWheel() {
        car.setSteeringWheel("奔驰方向盘");
    }
}
